<script type="text/javascript">
function gotoPage1(page, id, type)
{
  Ajax.call('comment1.php?act=gotopage', 'page=' + page + '&id=' + id + '&type=2', gotoPageResponse1, 'GET', 'JSON');
}

function gotoPageResponse1(result)
{
  document.getElementById("ECS_COMMENT1").innerHTML = result.content;
}

</script>
<div id="ECS_COMMENT1"> <?php 
$k = array (
  'name' => 'comments1',
  'type' => '2',
  'id' => $this->_var['id'],
);
echo $this->_echash . $k['name'] . '|' . serialize($k) . $this->_echash;
?></div>
